package com.ftg.learn.service.impl;

import com.ftg.learn.clients.ProvideRemoteClients;
import com.ftg.learn.service.ConsumerService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

/**
 * 业务实现类
 *
 * @author 布衣
 */
@Service
public class ConsumerServiceImpl implements ConsumerService {

    @Resource
    ProvideRemoteClients provideRemoteClients;

    @Override
    public String getData() {
        return provideRemoteClients.getData();
    }

}
